/**
 * @Author: 耿立强
 * @Date: 2019/6/20
 * @Last Modified by:   耿立强
 * @Last Modified time: 2019-06-20 15:45:00
 */
import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 三包预警查询列表
export const getParaList = params => axios.get(`${SERVER.DMSCLOUD_ACTIVITY}/ttRpThreeParaInfo/getParaList`, {params});

//三包预警查询详情
export const getParaItem = params => axios.get(`${SERVER.DMSCLOUD_ACTIVITY}/ttRpThreeInfo//getParaItem/${params.id}`);

//三包预警查询详情页面,
export const getParaItemByVinAndDealerCode = params => axios.get(`${SERVER.DMSCLOUD_ACTIVITY}/ttRpThreeParaInfo/getParaItemByVinAndDealerCode`,{params});

// 三包预警查询导出
export const exportResData = params =>
{
  return axios({
    url: `${SERVER.DMSCLOUD_ACTIVITY}/ttRpThreeParaInfo/exportResData`,
    method: 'get',
    params:params,
    responseType: 'blob'
  });
};



